package com.tbit.uqbike.object.pojo.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * @author yee_
 * @version 1.0
 * @date 2022/12/30 14:17
 */
@Getter
@Setter
@ToString
public class LoginLogVO {

    /**
     * 用户类型
     */
    private Integer type;

    /**
     * 用户类型名称
     */
    private String roleName;
    /**
     * 用户id
     */
    private Integer id;
    /**
     * 登录时间
     */
    private Date loginTime;
    /**
     * ip
     */
    private String ip;
    /**
     * 账号id
     */
    private Integer accountUserId;
    private String accountName;
    private String accountUserPhone;
    private String accountUserName;

    public void putDefault() {
        this.accountName = "-";
        this.accountUserPhone = "-";
        this.accountUserName = "-";
    }
}
